////////////////////////////////////////////////////////////////////////////////
// Copyright 2009 CORE Solutions Limited
// All rights reserved.
// PROPRIETARY AND CONFIDENTIAL INFORMATION.
// Use is subject to license terms.
//
// FUNCTION ID      :   XLS
// AUTHOR           :   Saint Peng 
// DATE CREATE      :   2009/05/13
// DESCRIPTION      :   a VO file for the function, XLS
//                  :   
//                  :   
//                  :   
//
// MODIFICATION HISTORY:
// DATE         AUTHOR          VERSION NO.         COMMENT
// -----------  --------------  ------------------  -------------------
// 2009/05/13   Saint Peng      1.0                 source is generated.
//
//
//
////////////////////////////////////////////////////////////////////////////////

package com.erp.app.common.xls.vo;

import java.math.BigDecimal;
import java.sql.Date;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.Collection;

import com.erp.framework.model.vo.SimpleSearchMaintStyleVo;
import com.erp.framework.model.pk.SimpleSearchMaintStylePk;
import com.erp.app.common.xls.pk.XlsCellPk;
import com.erp.framework.types.CustomBigDecimal;
import com.erp.framework.types.CustomBigInteger;
import com.erp.framework.types.CustomSqlDate;
import com.erp.framework.types.CustomTimestamp;
import com.erp.framework.types.CustomUtilDate;

/**
* <p>A <strong>VO</strong>(Value Object) is a JavaBean which provides property
* getter and setter methods for all of the bean properties, and implements
* <code>Serializable</code>, as required by the JavaBean specification
* The main purpose for this class is to store the data retrieved from the database,
* and the converted data from the web browsers.
*
* @author          Saint Peng 
* @version 1.0     2009/05/13
* @since           FrameWork 1.0
*
*/
public class XlsCellVo extends SimpleSearchMaintStyleVo {

	//DB Table Name: T_XLS_CELL

	//PK Attributes
	private String companyCode;                      //DB Column Name: COMPANY_CODE
	private String menuId;                           //DB Column Name: MENU_ID
	private String funId;                            //DB Column Name: FUN_ID
	private String acrId;                            //DB Column Name: ACR_ID
	private String verId;                            //DB Column Name: VER_ID

	//Other Attributes
	private CustomBigInteger cellSqlLineNo;          //DB Column Name: SQL_LINE_NO
	private String cellColName;                      //DB Column Name: COL_NAME
	private String cellIsMerge;                      //DB Column Name: IS_MERGE
	private String cellMergeColName;                 //DB Column Name: MERGE_COL_NAME
	private CustomBigInteger cellStyDtlRow;          //DB Column Name: STY_DTL_ROW
	private String cellCellType;

	public String getCellCellType() {
		return cellCellType;
	}

	public void setCellCellType(String cellCellType) {
		this.cellCellType = cellCellType;
	}

	/**
	* Stores the detail child names by the fully-qualified java class path.
	*
	* @author     Saint Peng 
	* @since      Framework 1.0
	*/
	protected  void setChildTypesName() {
		//this.childTypesName=new String[2];
		//this.childTypesName[0]="com.erp.app.form.beans.FormApprovalListVo";
		//this.childTypesName[1]="com.erp.app.form.beans.FormAttachmentVo";
	}

	/**
	* Stores the table schema name by the fully-qualified java class path.
	*
	* @author     Saint Peng 
	* @since      Framework 1.0
	*/
	protected void setTableSchemaName() {
		this.tableSchemaName="com.erp.app.common.xls.schema.XlsCellSchema";
	}

	/**
	* Stores the detail child table schema names by the fully-qualified java class path.
	*
	* @author     Saint Peng 
	* @since      Framework 1.0
	*/
	protected  void setChildTableSchemaNames() {
		//this.childTableSchemaNames=new String[2];
		//this.childTableSchemaNames[0]="com.erp.app.form.beans.FormApprovalListSchema";
		//this.childTableSchemaNames[1]="com.erp.app.form.beans.FormAttachmentSchema";
	}

	/**
	* Stores the DAO name by the fully-qualified java class path.
	*
	* @author     Saint Peng 
	* @since      Framework 1.0
	*/
	protected void setDaoName() {
		this.daoName="com.erp.app.common.xls.dao.XlsCellDao";
	}

	/**
	* Returns the primary key for this class.
	* @return      primary key of this class
	*
	* @author     Saint Peng 
	* @since      Framework 1.0
	*/
	public SimpleSearchMaintStylePk getSearchMaintStylePk() {
		return new XlsCellPk(this.companyCode, this.menuId, this.funId, this.acrId, this.verId);
	}

	/**
	* Converts to a string representing the data in this object.
	* A new <code>String</code> object is allocated and initialized to 
	* contain the character sequence currently represented by this 
	* object. This <code>String</code> is then returned. Subsequent 
	* changes to this object do not affect the contents of the 
	* <code>String</code>. 
	*
	* @return     a string representation of the object.
	* @see        java.lang.Object#toString()
	* @author     Saint Peng 
	* @since      Framework 1.0
	*/
	public String toString() {
		String pkStr = "PK: {companyCode = " + this.companyCode
			+ "\n, menuId = " + this.menuId
			+ "\n, funId = " + this.funId
			+ "\n, acrId = " + this.acrId
			+ "\n, verId = " + this.verId + "}\n";

		String colStr = "COL: {cellSqlLineNo = " + this.cellSqlLineNo
			+ "\n, cellColName = " + this.cellColName
			+ "\n, cellIsMerge = " + this.cellIsMerge
			+ "\n, cellMergeColName = " + this.cellMergeColName
			+ "\n, cellStyDtlRow = " + this.cellStyDtlRow + "}\n";

		return "XlsCellVo.toString() is:\n" + pkStr + colStr;
	}

	////////////////////////////////////////////////////////////////////////////////
	//Generated Accessors (get/set methods)
	////////////////////////////////////////////////////////////////////////////////

	public String getCompanyCode() {
		return this.companyCode;
	}

	public String getMenuId() {
		return this.menuId;
	}

	public String getFunId() {
		return this.funId;
	}

	public String getAcrId() {
		return this.acrId;
	}

	public String getVerId() {
		return this.verId;
	}

	public CustomBigInteger getCellSqlLineNo() {
		return this.cellSqlLineNo;
	}

	public String getCellColName() {
		return this.cellColName;
	}

	public String getCellIsMerge() {
		return this.cellIsMerge;
	}

	public String getCellMergeColName() {
		return this.cellMergeColName;
	}

	public CustomBigInteger getCellStyDtlRow() {
		return this.cellStyDtlRow;
	}

	public void setCompanyCode(String companyCode) {
		this.companyCode = companyCode;
	}

	public void setMenuId(String menuId) {
		this.menuId = menuId;
	}

	public void setFunId(String funId) {
		this.funId = funId;
	}

	public void setAcrId(String acrId) {
		this.acrId = acrId;
	}

	public void setVerId(String verId) {
		this.verId = verId;
	}

	public void setCellSqlLineNo(CustomBigInteger cellSqlLineNo) {
		this.cellSqlLineNo = cellSqlLineNo;
	}

	public void setCellColName(String cellColName) {
		this.cellColName = cellColName;
	}

	public void setCellIsMerge(String cellIsMerge) {
		this.cellIsMerge = cellIsMerge;
	}

	public void setCellMergeColName(String cellMergeColName) {
		this.cellMergeColName = cellMergeColName;
	}

	public void setCellStyDtlRow(CustomBigInteger cellStyDtlRow) {
		this.cellStyDtlRow = cellStyDtlRow;
	}

	////////////////////////////////////////////////////////////////////////////////
	//Other Accessors (get/set methods)
	////////////////////////////////////////////////////////////////////////////////


}